#ifndef IDREADER_H
#define IDREADER_H

#include <QObject>
class QNetworkAccessManager;
class QNetworkReply;
class QTimer;

class IDReader : public QObject
{
    Q_OBJECT
public:
    explicit IDReader(QObject *parent = nullptr);

public slots:
    void onNetworkReply(QNetworkReply *reply);
    void readCard();

private:
    QNetworkAccessManager *manager;
    QTimer *timer;
};

#endif // IDREADER_H
